﻿@model IEnumerable<DBTramite.BussinesEntities.T_Documento>

@{
    ViewBag.Title = "Resportes";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Resportes</h2>

@*<p>
    @Html.ActionLink("Create New", "Create")
</p>*@

<table>
    <tr>
        <th>
             @Html.Label("Hola")
        </th>

        <th>
             @Html.DropDownList("Buscar por", new MultiSelectList(new[] {"Expediente", "Doc. Generado","Procedencia","Asunto","Expediente Inicial"}))
        </th>

        <th>
             @*@Html.Label("Hola")*@
        </th>

        <th>
             @Html.DropDownList("Hola", new MultiSelectList(new[] {"Mostrar Coincidencia","Asunto"}))
        </th>
    <td>  
      @*<form action="/Home/CategoryChosen" method="get">
	  <fieldset> Buscar por <select id="MovieType" name="MovieType">      

	<option value="">Expediente</option>

	<option value="0">Doc. Generado</option>

	<option value="1">Procedencia</option>

	<option selected="selected" value="2">Asunto</option>

	<option value="3">Expediente Inicial</option>

	</select>*@

	@*<p><input type="submit" value="Submit" /> </p>*@

	@*</fieldset>

</form>*@
    @*</td>

        <td>  
      <form action="/Home/CategoryChosen" method="get">
	  <fieldset><select id="MovieType" name="MovieType">      

	<option value="">Mostrar Coincidencia</option>

	<option value="0">Mostrar Coincidencia</option>

	<option value="1">Mostrar Coincidencia</option>

	<option selected="selected" value="2">Fecha</option>

	<option value="3">Expediente Inicial</option>

	</select>*@

@*	<p><input type="submit" value="Submit" /> </p>*@

	@*</fieldset>

</form>
    </td>

    </tr>*@

</table>

<table>
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.nroexpediente)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.expgenerador)
        </th>
        <th>
            @*@Html.DisplayNameFor(model => model.nrodocumento)*@
        </th>
        <th>
            @Html.DisplayNameFor(model => model.fechaingreso)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.asunto)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.folios)
        </th>
        <th>
           @* @Html.DisplayNameFor(model => model.observacion)*@
        </th>
        <th>
           @* @Html.DisplayNameFor(model => model.codtipodocumento)*@
        </th>
        <th>
           @* @Html.DisplayNameFor(model => model.codemisor)*@
        </th>
        <th>
           @* @Html.DisplayNameFor(model => model.id_dep)*@
        </th>
        <th>
           @* @Html.DisplayNameFor(model => model.rut)*@
        </th>
        <th>
           @* @Html.DisplayNameFor(model => model.id_old)*@
        </th>
        <th>
           @* @Html.DisplayNameFor(model => model.nroexpinterno)*@
        </th>
        <th>
           @* @Html.DisplayNameFor(model => model.telefono)*@
        </th>
        <th>
           @* @Html.DisplayNameFor(model => model.fechasalida)*@
        </th>
        <th>
            @*@Html.DisplayNameFor(model => model.permanenciamax)*@
        </th>
        <th>
          @*  @Html.DisplayNameFor(model => model.prioridad)*@
        </th>
        <th>
           @* @Html.DisplayNameFor(model => model.recepcion)*@
        </th>
        <th>
         @*   @Html.DisplayNameFor(model => model.recepcion_old)*@
        </th>
        <th>
@*            @Html.DisplayNameFor(model => model.codtipotramite)*@
        </th>
        <th>
           @* @Html.DisplayNameFor(model => model.codestado)*@
        </th>
        <th>
            @*@Html.DisplayNameFor(model => model.codexpinicial)*@
        </th>
        <th>
         @*   @Html.DisplayNameFor(model => model.interno)*@
        </th>
        <th>
      @*      @Html.DisplayNameFor(model => model.fecha_audit)*@
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.nroexpediente)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.expgenerador)
        </td>
        <td>
        @*    @Html.DisplayFor(modelItem => item.nrodocumento)*@
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.fechaingreso)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.asunto)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.folios)
        </td>
        <td>
            @*@Html.DisplayFor(modelItem => item.observacion)*@
        </td>
        <td>
           @* @Html.DisplayFor(modelItem => item.codtipodocumento)*@
        </td>
        <td>
           @* @Html.DisplayFor(modelItem => item.codemisor)*@
        </td>
        <td>
           @* @Html.DisplayFor(modelItem => item.id_dep)*@
        </td>
        <td>
           @* @Html.DisplayFor(modelItem => item.rut)*@
        </td>
        <td>
           @* @Html.DisplayFor(modelItem => item.id_old)*@
        </td>
        <td>
            @*@Html.DisplayFor(modelItem => item.nroexpinterno)*@
        </td>
        <td>
            @*@Html.DisplayFor(modelItem => item.telefono)*@
        </td>
        <td>
         @*   @Html.DisplayFor(modelItem => item.fechasalida)*@
        </td>
        <td>
           @* @Html.DisplayFor(modelItem => item.permanenciamax)*@
        </td>
        <td>
           @* @Html.DisplayFor(modelItem => item.prioridad)*@
        </td>
        <td>
          @*  @Html.DisplayFor(modelItem => item.recepcion)*@
        </td>
        <td>
           @* @Html.DisplayFor(modelItem => item.recepcion_old)*@
        </td>
        <td>
            @*@Html.DisplayFor(modelItem => item.codtipotramite)*@
        </td>
        <td>
           @* @Html.DisplayFor(modelItem => item.codestado)*@
        </td>
        <td>
            @*@Html.DisplayFor(modelItem => item.codexpinicial)*@
        </td>
        <td>
           @* @Html.DisplayFor(modelItem => item.interno)*@
        </td>
        <td>
          @*  @Html.DisplayFor(modelItem => item.fecha_audit)*@
        </td>
        <td>
          @*  @Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ }) |
            @Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ }) |
            @Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ })*@
        </td>
    </tr>
}

</table>
